// Menus
07AB28:0F //file select position related
07AB74:10 //file select position related
07BB9A:7D //file select position related
07AB61:1F //job menu width
07EDCE:1E //B-Button item menu width
07AB59:1F //item menu width
07AB5A:1F //item menu-stat menu width
07AB5D:1F //equipment menu width
07AB5E:1F //equipment-item menu width
07AB5F:15 //job menu header width
07AB70:1F //stats menu width
07AB77:1F //magic menu header width
07F476:1D //menu refresh width
07F484:1F //menu refresh width
07F492:1E //menu refresh width
07F694:1E // this controls the refresh amount when exiting menus
06B220:C3 //in-battle item menu quantity indicator

//DTE TABLE ROUTINE
07EF40:99 A0 07
07EF46:99 A1 07
07EF4B:4C 97 EA
07EAA7:E6 90 4C FA EE

//BATTLE INTERFACE CHANGES
068EB7:20 // battle message position
068EBC:80
069036:1D // refresh tile clear amount
068E9A:10
068EA3:44
068EAC:00
068EB5:94
068EBE:E0
068EB9:17
068E93:60 // minibox1 X
068E95:0B // minibox1 width
068E98:C0
068E9C:6C // minibox2 X
068E9E:0B // minibox2 width
068EA1:CC
068EA5:C0 // minibox3 X
068EA7:0B // minibox3 width
068EAA:20
068EAE:CC // minibox4 X
068EB0:0B // minibox4 width
068EB3:2B
068DAF:FD // battle menu minibox starting text position
0690CA:D8 // positioning of text within a battle message box
069264:14 // starting text position of battle message box
069324:14 // starting text position of battle message box
069AB2:06 // related to battle menu commands
069CCB:10 // starting text position in main battle menu
069CE5:0D // starting tile position of main battle menu
069CE9:1F // ending tile positiion of main battle menu
069DD2:0B // starting tile position of enemy names
069DE6:00 // starting position of enemy box during battle
069DEA:0C // ending position of enemy box during battle
069AD5:06 // starting tile position of command text
069ADC:06 // amount of spaces before next line in command menu
069AE9:05 // starting position of command box during battle
069AED:0C // ending position of command box during battle
069DB6:0B // length of enemy names
069DD9:0B // length of enemy names

// Side-box in in-battle item menu
06B45A:FF
06B462:63
06B467:43
06B46A:9B
06B46F:C7
06B474:95
06B479:C7
06B47E:63

// Battle-menu cursor position
68B11:30
68B13:30
68B15:30
68B17:30

// In-battle "Treasure" Message fix
69353:E0

// Fat Chocobo Item menu
7F164:0B
7F168:1A
7F3C0:00

//216A1-21710: Cast List

//Shop Menu
07AB1B:01
07AB1C:0A
07AB1D:01
07AB1E:11
07AB1F:01
07AB67:09
07AB69:10
07AB6B:17
07AB6C:1F

// In-battle Magic Menu
069C37:8B
069C3A:A9 6D
069C3D:0D
068B19:18
068B1B:18
068B1D:18
068B1F:18
068B21:60
068B23:60
068B25:60
068B27:60
068B29:A8
068B2B:A8
068B2C:A8
068B2F:A8
06B6ED:20 // spell name tile refresh amount
06B6F2:05 // starting X coordinate of spell names
06B6F8:EA EA EA EA EA // for removing the spell level indicator
06B6FD:EA EA EA EA EA
06B732:EA EA EA EA EA
06B737:EA EA EA EA EA
06B783:08 // length of spell names
06B796:20 // magic menu text loop amount
06B7A7:00 // starting X coordinate of magic menu
06B7AB:1F // ending X coordinate of magic menu
06B81C:3C // text scroll up amount
06B829:00 // starting X coordinate of magic menu when scrolling up
06B82D:1F // ending X coordinate of magic menu when scrolling up
06B855:3C // text scroll down amount
06B862:00 // starting X coordinate of magic menu when scrolling down
06B866:1F // ending X coordinate of magic menu when scrolling down
069BC3:09 // X coordinate of "H" in HP in battle menu box
069BC8:0A // X coordinate of "H" in HP in battle menu box

// This fixes a glitch in the item menu that occured as a result of expanding the other menu sizes
068F38:
20 F2 BF	JMP $BFF2
EA		NOP
06C002:
C5 10		CMP
D0 05		BNE
A0 0D		LDY #$0B60
4C FD BF	JMP $BFFD
A0 0B		LDY #$0D
A9 00		LDA #$00
60		RTS

// Name display routine update (to remove unnecessary spaces in dialogue)
07F324:
A6 67		LDX $0067
BD 06 61	LDA $6106,X
A0 00		LDY #$00
branch:
BD 06 61	LDA $6106,X	@ might seem unnecessary but doing this prevents a glitch
C9 FF		CMP #$FF
D0 02		BNE to store
A9 00		LDA #00
store:
99 5A 00 	STA $5A,Y
C8		INY
E8		INX
C0 06		CPY #$06
D0 EE		BNE $F31B
20 E4 F3	JSR $F3E4
EA		NOP
EA		NOP
EA		NOP
EA		NOP
EA		NOP
EA		NOP
EA		NOP